﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace INSTA.Library.Tests
{
    /// <summary>
    /// Attribute used to test our library.
    /// </summary>
    [AttributeUsage(AttributeTargets.Property   | 
                    AttributeTargets.Method     | 
                    AttributeTargets.Class, 
                    AllowMultiple = false,
                    Inherited = false)]
    public class UniqueAttribute : Attribute
    {

        /// <summary>
        /// Initializes a new instance of the <see cref="UniqueAttribute"/> class.
        /// </summary>
        /// <param name="testPropertyValue">The test property value.</param>
        public UniqueAttribute(string testPropertyValue)
        {
            TestProperty = testPropertyValue;
        }

        public string TestProperty { get; private set; }

    }
}
